package com.gonsin.gview.annotations.interfaces;

import com.gonsin.gview.annotations.GContext;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * 下拉选择数据源
 */
public interface IListDataPicker<T> {

    /**
     * 下拉框的数据源
     */
    List<T> getData(GContext context, String dataId, HttpServletRequest request, Map<String, String> props);
}
